post /vms/{vmId}/operations/cleanup

Cleanup after a VM (cleanup)

Once the Virtual Machine is detached and you have completed any required validations, you can invoke the Detach Cleanup operation. This marks the VM as "Unmanaged" by Velostrata and removes the AWS S3 Object/Azure Storage/Gcp Cloud Storage from the cloud vendor. Once the detach cleanup operation is complete, the VM is managed by vCenter. If for some reason you do not want to complete the Detach Cleanup and you want to revert, you can move the VM back to Fully Cached mode.

Path parameters

vmId (required)

Path Parameter — Virtual machine ID

Consumes

This API call consumes the following media types via the Content-Type request header:

  • application/json

Query parameters

force (optional)

Query Parameter — Force

Return type

TaskId

value (optional)

String Entity ID

_type

String Task ID

Enum:

TaskId

 

Example data

Content-Type: application/json

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

  • application/json

Responses

201

Created TaskId

Default

Error ErrorInfo

errorCode (optional)

String

url(optional)

String

message (optional)

String